Change UUID to primary key for AppNode

+ Uncamelcase property names in api nodes stdClass representation