Add filterable to Layer.toDict.

- Also added JSON content type to get_json.
Added filter icon to filterable layers on DATA and FILTER tabs.