Fixed bug #25

Fixed bug #25 
It'd probably be better if we created Java model classes to represent things like a scheduled job and use GSON to handle the JSON serialization. While not in the scope of this bug fix do you think we can log an issue to track this?