test converter obj->json