Fix Travis build warnings and failures (spaces before parenthesis; revert Ruby 1.9 json hash syntax)