Fix JSON CSRF bug

https://github.com/pauloconnor/graphiti/commit/b8f4a238f32548e57076ef97834ee3c912aef3ea