parse methods as json keys