Made failing JSON Activity, works in standard Java project