mass-assigning protected attributes temporary fix; json encoder gem since activesupport doesn't encoding invalid code anymore