PHP, additional funtionality json_prototype_2