add support for grape-entity verion 0.4+