rb->json convert script work