Finish FormatJson::encode() test coverage