moved jsondatat from rest to common, as this later on will also be used in the mq