Fix bugs on Services API

- missing and wrong argument in as_dict() method
- changed type Integer to boolean in sqlalchemy (was causing an
  error during the conversion from db model to api model)
  Also, this change does not require any change in the db schema

Change-Id: I13e952b7a83552afcb91d25ce37912a7aa0fd727
Merge "Fix bugs on Services API"