fixed specs for list_from_json_array/1 and list_to_json_array/1