Fixed issued with sharrre.php
Fixed issued with sharrre.php

Added a content type header to force returned data as json, and improved the logic for populating the data array that is returned.
Julienh/Sharrre,Julienh/Sharrre,joeyblake/Sharrre,smeeckaert/Sharrre,Julienh/Sharrre,smeeckaert/Sharrre,joeyblake/Sharrre,joeyblake/Sharrre,smeeckaert/Sharrre