Added serialize function to smartpark and parking lots. 
Also changed few things in the handler to handle our new query to
database from the android application.