Switch to entity.__entity__(:keywords) for JSON