amend array_value and object_value