Generate your doctrine entities metadata from a simple json file, including the php code for the entity