Support loading entity from .json file