Fixed JSON encoding and $.get dataType

Fix for General Info because of changed content type to json.
Issues #47 and #49