Added json output. added possibility to remove label from output
deleted unused functions and updated content-type
reverted change to config
Merge pull request #14 from TheRaven/master

Added json.php to output data in json format