return compiled code as json