changed LithiumParser to make use of JSON instead of XML