parseJSONScopes
use LANGAUGE pragma instead of OPTIONS_GHC