#16 Code for meta and scope in json serializer