added @ToJson and @RestableEntity transformations