AMFCodeGen - updated to convert JSON -> AMF