Fix for error when using local variables with jbuilder templates that are not simple strings or hashes

Fixes #86