Fix resource class which was throwing exception,

Fix resource class which was throwing exception,
change Bus attribute "busLineNumber" to "lineNumber"
for more consistent naming (one of the 5 "C" of class design),
and add JSON serialization. Read the Jersey manual for
how to serialize to JSON.