added Emit method for ExportedAppKey

changed to JSON as standart encoding
add CreateFromYaml method for AppKey