json errors and dependencies