method to convert params to hash for gemifier model