A way to display entities in json