fixed empty request bug
Create toMetaResource method