haml and json setup