A template-based C++11 JSON parser