Expose EntityJSON data constructor (#181)

This is a fix for https://github.com/yesodweb/persistent/pull/181#issuecomment-37073387.