fixed bug where jbuilder wouldn't work on models without fields