Refactor basic JSON list data load into function.

This should probably be in its own namespace, but this is an okay
starting point for design improvement.
Permit Clang interpolation with or without space padding.

In other words, both "{{ foo }}" and "{{foo}}" are valid interpolations
now. This brings Clang into line with AngularJS, and in my opinion,
improves readability.