remove a temporary variable in JSONExporter

Removed a temporary variable and "hash rockets" (`=>`). The goal is to improve readability of this method while retaining identical behavior.

I also wanted to give you a chance to play with pull requests.
Hope all is going well with you!