Fixed bug in JSOn entity reader.