Duplication in `get_config` response schemas in database and condenser APIs

Problem: when config in Hived is edited, both schemas have to be updated. It would be nice to update only one.

condenser_api.get_config should be based on database_api.get_config, because condenser_api.get_config is deprecated and will be removed in the future.