Change API params type.

Change from Map<String, String> to Map<String, Object>
This way, boolean and integer params need not be converted to String first.