encoder: if __is_luajson_array is set on a metatable, consider the value as an array