Metadata json

Took a little detour refactoring BlacklightConfiguration#blacklight_config, hopefully for the better.