fixed some formats, added some and use play-json to serialize AppDefinitions